import { serverBaseUrl } from "src/common/setting";
import { serverImgUrl } from "src/common/setting";
export default {
    getImgUrl:function (url) {
        if(url.length>0){
            return ({ serverImgUrl }.serverImgUrl+'/'+ (url.indexOf(';')>0 ? url.substr(0, url.indexOf(';')) : url));
        }else{
            return ({ serverImgUrl }.serverImgUrl+'/'+'uploadfile/20190524/timg (1).jpg');
          }
    }

}
